Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve webpack dev server #908

Merged
merged 2 commits into from
May 4, 2020
Merged

Conversation

agjohnson
Copy link
Collaborator

This no longer continually rebuilds the docs to test the JS/CSS. Instead, it
uses webpacks nice live reload feature for bundle assets. Through use of both a
contentBase and a publicPath option, we can serve docs/build/html content, but
requests to docs/build/html/_static/ will be intercepted by webpack and return
the live reload bundles.

Don't rebuild the docs constantly, use the nice webpack livereload
feature instead. Changes are now instantaneous when working with CSS/JS
@agjohnson agjohnson requested review from a team and removed request for a team May 2, 2020 02:48
@agjohnson agjohnson added the Feature New feature label May 2, 2020
Copy link
Contributor

@davidfischer davidfischer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, this is pretty cool. It worked great in testing!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants